/*
 * ErrorResource.java
 *
 * Created on March 28, 2007, 11:11 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.atomojo.app;

import org.restlet.representation.Representation;
import org.restlet.resource.ServerResource;

/**
 *
 * @author alex
 */
public class ErrorResource extends ServerResource {
   
   Representation rep;
   public ErrorResource(Representation rep) {
      setNegotiated(false);
      this.rep = rep;
   }
   
   public Representation get() {
      return rep;
   }
   
}
